<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>管理员管理-有点</title>
<link rel="stylesheet" type="text/css" href="<?php echo Url::base(); ?>/resource/css.css">
<link rel="stylesheet" type="text/css" href="<?php echo Url::base(); ?>/resource/pageGroup.css">
<script type="text/javascript" src="<?php echo Url::base(); ?>/resource/jquery.js"></script>
<script type="text/javascript" src="<?php echo Url::base(); ?>/resource/jquery-1.js"></script>

<link rel="stylesheet" type="text/css" href="<?php echo Url::base(); ?>/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="<?php echo Url::base(); ?>/themes/icon.css">
	<script type="text/javascript" src="<?php echo Url::base(); ?>/jquery.min.js"></script>
	<script type="text/javascript" src="<?php echo Url::base(); ?>/jquery.easyui.min.js"></script>



<!-- <script type="text/javascript" src="js/page.js" ></script> -->
</head>111
<div style="margin:20px 0;"></div>
	<table class="easyui-datagrid" title="DataGrid with Toolbar" style="width:700px;height:250px"
			data-options="onDblClickRow:function(index,row){
			window.location= ('<?php echo Url::base(); ?>index.php/brandm/detail?id='+row.id) 

		},rownumbers:true,singleSelect:true,url:'<?php echo Url::base(); ?>index.php/brandm/getData',method:'get',pagination:true,	rownumbers:true,singleSelect:true,toolbar:toolbar">
		<thead>
			<tr>
				<th data-options="field:'id',width:80">Item ID</th>
				<th data-options="field:'name',width:100">名称</th>
				<th data-options="field:'sort',width:100">顺序</th>
				<th data-options="field:'model',width:100">模块</th>
				<th data-options="field:'createDate',width:180,align:'right'">创建时间</th>
			</tr>
		</thead>
	</table>

	

	<div id="dlg" class="easyui-dialog" title="Basic Dialog" data-options="iconCls:'icon-save,close:false',href: '<?php echo Url::base(); ?>index.php/brandm/addDialog'," style="width:400px;height:200px;padding:10px">
		
	</div>
	<script type="text/javascript">


		$(function(){

			$('#dlg').dialog('close')
		})
		var toolbar = [{
			text:'Add',
			iconCls:'icon-add',
			handler:function(){$('#dlg').dialog('open')}
		}];
	</script>
</body></html>